package com.xyz.entity.mapper;

import com.xyz.entity.pojo.TemplatePlanPart;
import com.xyz.entity.pojo.TemplatePlanPartExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TemplatePlanPartMapper {
    long countByExample(TemplatePlanPartExample example);

    int deleteByExample(TemplatePlanPartExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TemplatePlanPart record);

    int insertSelective(TemplatePlanPart record);

    List<TemplatePlanPart> selectByExample(TemplatePlanPartExample example);

    TemplatePlanPart selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TemplatePlanPart record, @Param("example") TemplatePlanPartExample example);

    int updateByExample(@Param("record") TemplatePlanPart record, @Param("example") TemplatePlanPartExample example);

    int updateByPrimaryKeySelective(TemplatePlanPart record);

    int updateByPrimaryKey(TemplatePlanPart record);
}